package net.lab1024.sa.admin.module.system.sms;

import net.lab1024.sa.base.common.domain.ResponseDTO;

public interface SmsCodeService {

    String generateCode();

    void saveCodeToRedis(String mobile, String code);

    ResponseDTO<String> verifyCode(String mobile, String inputCode);

//    boolean checkSendFrequency(String mobile);

}
